package top.suven.base.util.createcode;


public class TableBean {



	private StringBuffer id = new StringBuffer();
	private StringBuffer tableName  = new StringBuffer();
    private StringBuffer packageName  = new StringBuffer();


	private StringBuffer className  = new StringBuffer();
	private StringBuffer paramName = new StringBuffer();
	private StringBuffer classLowerCaseName  = new StringBuffer();
	private StringBuffer classUpperCaseName  = new StringBuffer();

	private StringBuffer insertSQL  = new StringBuffer();
	private StringBuffer insertVal  = new StringBuffer();
	private StringBuffer insertDbList  = new StringBuffer();

	private StringBuffer updateSQL  = new StringBuffer();
	private StringBuffer updateDbList  = new StringBuffer();
	private StringBuffer updateWhereDbList  = new StringBuffer();

	private StringBuffer selectSQL  = new StringBuffer();
	private StringBuffer resultVo  = new StringBuffer();

	private StringBuffer serviceVo  = new StringBuffer();

	public String getId() {
		return id.toString();
	}

	public TableBean setId(String id) {
		this.id.append(id) ;
		return this;
	}

	public String getTableName() {
		return tableName.toString();
	}

	public TableBean setTableName(String tableName) {
		this.tableName.append( tableName);
		return this;
	}

    public String getPackageName() {
        return packageName.toString();
    }

    public TableBean setPackageName(String packageName) {
        this.packageName.append(packageName);
        return this;
    }

    public String getClassName() {
		return className.toString();
	}

	public TableBean setClassName(String className) {
		this.className.append( className);
		return this;
	}

	public String getClassLowerCaseName() {
		return classLowerCaseName.toString();
	}

	public TableBean setClassLowerCaseName(String classLowerCaseName) {
		this.classLowerCaseName.append(classLowerCaseName) ;
		return this;
	}

	public String getClassUpperCaseName() {
		return classUpperCaseName.toString();
	}

	public TableBean setClassUpperCaseName(String classUpperCaseName) {
		this.classUpperCaseName.append( classUpperCaseName);
		return this;
	}

	public String getInsertSQL() {
		return insertSQL.substring(0,insertSQL.lastIndexOf(","));
	}

	public TableBean setInsertSQL(String insertSQL) {
		this.insertSQL.append( insertSQL);
		return this;
	}

	public String getInsertVal() {
		return insertVal.substring(0,insertVal.lastIndexOf(","));
	}

	public TableBean setInsertVal(String insertVal) {
		this.insertVal.append( insertVal);
		return this;
	}

	public String getInsertDbList() {
		return insertDbList.toString();
	}

	public TableBean setInsertDbList(String insertDbList) {
		this.insertDbList.append( insertDbList);
		return this;
	}

	public String getUpdateSQL() {
		return updateSQL.substring(0,updateSQL.lastIndexOf(","));
	}

	public TableBean setUpdateSQL(String updateSQL) {
		this.updateSQL.append( updateSQL);
		return this;
	}

	public String getUpdateDbList() {
		return updateDbList.toString();
	}

	public TableBean setUpdateDbList(String updateDbList) {
		this.updateDbList.append(updateDbList);
		return this;
	}

	public String getUpdateWhereDbList() {
		return updateWhereDbList.toString();
	}

	public TableBean setUpdateWhereDbList(String updateWhereDbList) {
		this.updateWhereDbList.append(  updateWhereDbList);
		return this;
	}

	public String getResultVo() {
		return resultVo.toString();
	}

	public TableBean setResultVo(String resultVo) {
		this.resultVo .append(  resultVo);
		return this;
	}

	public String getParamName() {
		return paramName.toString();
	}

	public TableBean setParamName(String paramName) {
		this.paramName.append(paramName);
		return this;
	}

	public String getSelectSQL() {
		return selectSQL.substring(0,selectSQL.lastIndexOf(","));
	}

	public TableBean setSelectSQL(String selectSQL) {
		this.selectSQL.append(selectSQL);
		return this;
	}

	public String getServiceVo() {
		return serviceVo.toString();
	}

	public TableBean setServiceVo(String serviceVo) {
		this.serviceVo.append(serviceVo);
		return this;
	}

}
